package com.example.biji;

import android.net.Uri;
import android.text.SpannableString;

public class Note {
    private long id;
    private String content = "";
    private String time = "";
    private int tag;
    private String path = "";
    private int flag = 1;
    private String location = "";

    public Note(){}/*空构造器*/

    public Note(String content, String time, int tag, String path ,int flag, String location){
        this.content = content;
        this.time = time;
        this.tag = tag;
        this.path = path;
        this.flag = flag;
        this.location = location;
    }

    /*得到数据*/
    public long getId() { return id; }
    public String getContent() { return content; }
    public String getTime() { return time; }
    public int getTag() { return tag; }
    public String getPath() { return path; }
    public int getFlag() { return flag; }
    public String getLocation() { return location; }


    /*设置数据*/
    public void setId(long id) { this.id = id; }
    public void setContent(String content) { this.content = content; }
    public void setTime(String time) { this.time = time; }
    public void setTag(int tag) { this.tag = tag; }
    public void setPath(String path) { this.path = path; }
    public void setFlag(int flag) { this.flag = flag; }
    public void setLocation(String location){ this.location = location; }
}
